<%--
功能: 显示会员等级人数
--%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ tag import="org.springframework.context.ApplicationContext" %>
<%@ tag import="org.springframework.web.context.support.WebApplicationContextUtils" %>
<%@ tag import="com.probiz.estore.customer.service.CustomerManager" %>
<%@ attribute name="membershipId" required="true"%>
<%
	ApplicationContext ctx =WebApplicationContextUtils.getRequiredWebApplicationContext(session.getServletContext());
	CustomerManager customerManager=(CustomerManager)ctx.getBean("customerManager");
	Integer counts=customerManager.getCustomerCountsByMembershipId(new Integer(membershipId));
	request.setAttribute("customer_counts",counts);
%>
<c:out value="${customer_counts}"/>
<c:remove var="customer_counts" scope="request"/>